<?php

class SQLException extends Exception {
	
	public function __construct($message,$sql="") {
		parent::__construct ("SQL Error : ".$message."<br />\nSQL Dump: ".$sql, 0x90002);
	
	}
}

?>